﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//import
using Microsoft.Practices.Unity;
using ddcCajamarca.BusinessEntities.Documentos;
using ddcCajamarca.BusinessLogic.Documentos;
using System.Web.ModelBinding;

namespace ddcCajamarca.Web.Documentos
{
    public partial class frmListTramites : System.Web.UI.Page
    {
        [Dependency]
        public TDocumentarioBL  tramiteBL{ get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        public IEnumerable<TDocumentario> GetTramite([Control("txtCriterio")]string criterio)
        {
            return tramiteBL.getAllFromTramiteDocumentarioByCriterio(criterio);            
        }
    }
}